package Day10;

/**
 * @author HYHwtx
 * @version 1.0
 * @date 2022/2/16 9:01
 */
public class Demo02 {
    public static void main(String[] args) {
        //创建一个数组
        int a [] = new int[5];
        a[0]=  1;
        a[1] = 2;
        a[2] = 3;
        a[3] = 4;
        a[4] = 5;
        System.out.println(a[0]);
        System.out.println(a[1]);
        System.out.println(a[2]);
        System.out.println(a[3]);
        System.out.println(a[4]);
    }
}
